/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml.util;

import fi.jab.esb.config.xml.*;

import java.util.List;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Switch</b> for the model's inheritance hierarchy.
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
 * to invoke the <code>caseXXX</code> method for each class of the model,
 * starting with the actual class of the object
 * and proceeding up the inheritance hierarchy
 * until a non-null result is returned,
 * which is the result of the switch.
 * <!-- end-user-doc -->
 * @see fi.jab.esb.config.xml.XmlPackage
 * @generated
 */
public class XmlSwitch<T>
{
  /**
   * The cached model package
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected static XmlPackage modelPackage;

  /**
   * Creates an instance of the switch.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public XmlSwitch()
  {
    if (modelPackage == null)
    {
      modelPackage = XmlPackage.eINSTANCE;
    }
  }

  /**
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return the first non-null result returned by a <code>caseXXX</code> call.
   * @generated
   */
  public T doSwitch(EObject theEObject)
  {
    return doSwitch(theEObject.eClass(), theEObject);
  }

  /**
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return the first non-null result returned by a <code>caseXXX</code> call.
   * @generated
   */
  protected T doSwitch(EClass theEClass, EObject theEObject)
  {
    if (theEClass.eContainer() == modelPackage)
    {
      return doSwitch(theEClass.getClassifierID(), theEObject);
    }
    else
    {
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
      return
        eSuperTypes.isEmpty() ?
          defaultCase(theEObject) :
          doSwitch(eSuperTypes.get(0), theEObject);
    }
  }

  /**
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return the first non-null result returned by a <code>caseXXX</code> call.
   * @generated
   */
  protected T doSwitch(int classifierID, EObject theEObject)
  {
    switch (classifierID)
    {
      case XmlPackage.ABSTRACT_SCHEDULED_LISTENER:
      {
        AbstractScheduledListener abstractScheduledListener = (AbstractScheduledListener)theEObject;
        T result = caseAbstractScheduledListener(abstractScheduledListener);
        if (result == null) result = caseListener(abstractScheduledListener);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.ACTIONS_TYPE:
      {
        ActionsType actionsType = (ActionsType)theEObject;
        T result = caseActionsType(actionsType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.ACTION_TYPE:
      {
        ActionType actionType = (ActionType)theEObject;
        T result = caseActionType(actionType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.ACTIVATION_CONFIG_TYPE:
      {
        ActivationConfigType activationConfigType = (ActivationConfigType)theEObject;
        T result = caseActivationConfigType(activationConfigType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.BUS:
      {
        Bus bus = (Bus)theEObject;
        T result = caseBus(bus);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.BUS_PROVIDER:
      {
        BusProvider busProvider = (BusProvider)theEObject;
        T result = caseBusProvider(busProvider);
        if (result == null) result = caseProvider(busProvider);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.BUS_PROVIDER_TYPE:
      {
        BusProviderType busProviderType = (BusProviderType)theEObject;
        T result = caseBusProviderType(busProviderType);
        if (result == null) result = caseBusProvider(busProviderType);
        if (result == null) result = caseProvider(busProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.CRON_SCHEDULE_TYPE:
      {
        CronScheduleType cronScheduleType = (CronScheduleType)theEObject;
        T result = caseCronScheduleType(cronScheduleType);
        if (result == null) result = caseSchedule(cronScheduleType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.DOCUMENT_ROOT:
      {
        DocumentRoot documentRoot = (DocumentRoot)theEObject;
        T result = caseDocumentRoot(documentRoot);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FS_BUS_TYPE:
      {
        FsBusType fsBusType = (FsBusType)theEObject;
        T result = caseFsBusType(fsBusType);
        if (result == null) result = caseBus(fsBusType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FS_LISTENER_TYPE:
      {
        FsListenerType fsListenerType = (FsListenerType)theEObject;
        T result = caseFsListenerType(fsListenerType);
        if (result == null) result = caseAbstractScheduledListener(fsListenerType);
        if (result == null) result = caseListener(fsListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FS_MESSAGE_FILTER_TYPE:
      {
        FsMessageFilterType fsMessageFilterType = (FsMessageFilterType)theEObject;
        T result = caseFsMessageFilterType(fsMessageFilterType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FS_PROVIDER_TYPE:
      {
        FsProviderType fsProviderType = (FsProviderType)theEObject;
        T result = caseFsProviderType(fsProviderType);
        if (result == null) result = caseBusProvider(fsProviderType);
        if (result == null) result = caseProvider(fsProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FTP_BUS_TYPE:
      {
        FtpBusType ftpBusType = (FtpBusType)theEObject;
        T result = caseFtpBusType(ftpBusType);
        if (result == null) result = caseBus(ftpBusType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FTP_LISTENER_TYPE:
      {
        FtpListenerType ftpListenerType = (FtpListenerType)theEObject;
        T result = caseFtpListenerType(ftpListenerType);
        if (result == null) result = caseAbstractScheduledListener(ftpListenerType);
        if (result == null) result = caseListener(ftpListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FTP_MESSAGE_FILTER_TYPE:
      {
        FtpMessageFilterType ftpMessageFilterType = (FtpMessageFilterType)theEObject;
        T result = caseFtpMessageFilterType(ftpMessageFilterType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.FTP_PROVIDER_TYPE:
      {
        FtpProviderType ftpProviderType = (FtpProviderType)theEObject;
        T result = caseFtpProviderType(ftpProviderType);
        if (result == null) result = caseBusProvider(ftpProviderType);
        if (result == null) result = caseProvider(ftpProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.GROOVY_LISTENER_TYPE:
      {
        GroovyListenerType groovyListenerType = (GroovyListenerType)theEObject;
        T result = caseGroovyListenerType(groovyListenerType);
        if (result == null) result = caseListener(groovyListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.HIBERNATE_BUS_TYPE:
      {
        HibernateBusType hibernateBusType = (HibernateBusType)theEObject;
        T result = caseHibernateBusType(hibernateBusType);
        if (result == null) result = caseBus(hibernateBusType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.HIBERNATE_LISTENER_TYPE:
      {
        HibernateListenerType hibernateListenerType = (HibernateListenerType)theEObject;
        T result = caseHibernateListenerType(hibernateListenerType);
        if (result == null) result = caseListener(hibernateListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.HIBERNATE_MESSAGE_FILTER_TYPE:
      {
        HibernateMessageFilterType hibernateMessageFilterType = (HibernateMessageFilterType)theEObject;
        T result = caseHibernateMessageFilterType(hibernateMessageFilterType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.HIBERNATE_PROVIDER_TYPE:
      {
        HibernateProviderType hibernateProviderType = (HibernateProviderType)theEObject;
        T result = caseHibernateProviderType(hibernateProviderType);
        if (result == null) result = caseBusProvider(hibernateProviderType);
        if (result == null) result = caseProvider(hibernateProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JBOSSESB_TYPE:
      {
        JbossesbType jbossesbType = (JbossesbType)theEObject;
        T result = caseJbossesbType(jbossesbType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JBR_BUS_TYPE:
      {
        JbrBusType jbrBusType = (JbrBusType)theEObject;
        T result = caseJbrBusType(jbrBusType);
        if (result == null) result = caseBus(jbrBusType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JBR_LISTENER_TYPE:
      {
        JbrListenerType jbrListenerType = (JbrListenerType)theEObject;
        T result = caseJbrListenerType(jbrListenerType);
        if (result == null) result = caseListener(jbrListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JBR_PROVIDER_TYPE:
      {
        JbrProviderType jbrProviderType = (JbrProviderType)theEObject;
        T result = caseJbrProviderType(jbrProviderType);
        if (result == null) result = caseBusProvider(jbrProviderType);
        if (result == null) result = caseProvider(jbrProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JCA_GATEWAY_TYPE:
      {
        JcaGatewayType jcaGatewayType = (JcaGatewayType)theEObject;
        T result = caseJcaGatewayType(jcaGatewayType);
        if (result == null) result = caseListener(jcaGatewayType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JMS_BUS_TYPE:
      {
        JmsBusType jmsBusType = (JmsBusType)theEObject;
        T result = caseJmsBusType(jmsBusType);
        if (result == null) result = caseBus(jmsBusType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JMS_JCA_PROVIDER_TYPE:
      {
        JmsJcaProviderType jmsJcaProviderType = (JmsJcaProviderType)theEObject;
        T result = caseJmsJcaProviderType(jmsJcaProviderType);
        if (result == null) result = caseJmsProviderType(jmsJcaProviderType);
        if (result == null) result = caseBusProvider(jmsJcaProviderType);
        if (result == null) result = caseProvider(jmsJcaProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JMS_LISTENER_TYPE:
      {
        JmsListenerType jmsListenerType = (JmsListenerType)theEObject;
        T result = caseJmsListenerType(jmsListenerType);
        if (result == null) result = caseListener(jmsListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JMS_MESSAGE_FILTER_TYPE:
      {
        JmsMessageFilterType jmsMessageFilterType = (JmsMessageFilterType)theEObject;
        T result = caseJmsMessageFilterType(jmsMessageFilterType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.JMS_PROVIDER_TYPE:
      {
        JmsProviderType jmsProviderType = (JmsProviderType)theEObject;
        T result = caseJmsProviderType(jmsProviderType);
        if (result == null) result = caseBusProvider(jmsProviderType);
        if (result == null) result = caseProvider(jmsProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.LISTENER:
      {
        Listener listener = (Listener)theEObject;
        T result = caseListener(listener);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.LISTENERS_TYPE:
      {
        ListenersType listenersType = (ListenersType)theEObject;
        T result = caseListenersType(listenersType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.PROPERTY_TYPE:
      {
        PropertyType propertyType = (PropertyType)theEObject;
        T result = casePropertyType(propertyType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.PROVIDER:
      {
        Provider provider = (Provider)theEObject;
        T result = caseProvider(provider);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.PROVIDERS_TYPE:
      {
        ProvidersType providersType = (ProvidersType)theEObject;
        T result = caseProvidersType(providersType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SCHEDULE:
      {
        Schedule schedule = (Schedule)theEObject;
        T result = caseSchedule(schedule);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SCHEDULED_LISTENER_TYPE:
      {
        ScheduledListenerType scheduledListenerType = (ScheduledListenerType)theEObject;
        T result = caseScheduledListenerType(scheduledListenerType);
        if (result == null) result = caseAbstractScheduledListener(scheduledListenerType);
        if (result == null) result = caseListener(scheduledListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SCHEDULE_PROVIDER_TYPE:
      {
        ScheduleProviderType scheduleProviderType = (ScheduleProviderType)theEObject;
        T result = caseScheduleProviderType(scheduleProviderType);
        if (result == null) result = caseProvider(scheduleProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SERVICES_TYPE:
      {
        ServicesType servicesType = (ServicesType)theEObject;
        T result = caseServicesType(servicesType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SERVICE_TYPE:
      {
        ServiceType serviceType = (ServiceType)theEObject;
        T result = caseServiceType(serviceType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SIMPLE_SCHEDULE_TYPE:
      {
        SimpleScheduleType simpleScheduleType = (SimpleScheduleType)theEObject;
        T result = caseSimpleScheduleType(simpleScheduleType);
        if (result == null) result = caseSchedule(simpleScheduleType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SQL_BUS_TYPE:
      {
        SqlBusType sqlBusType = (SqlBusType)theEObject;
        T result = caseSqlBusType(sqlBusType);
        if (result == null) result = caseBus(sqlBusType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SQL_LISTENER_TYPE:
      {
        SqlListenerType sqlListenerType = (SqlListenerType)theEObject;
        T result = caseSqlListenerType(sqlListenerType);
        if (result == null) result = caseListener(sqlListenerType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SQL_MESSAGE_FILTER_TYPE:
      {
        SqlMessageFilterType sqlMessageFilterType = (SqlMessageFilterType)theEObject;
        T result = caseSqlMessageFilterType(sqlMessageFilterType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case XmlPackage.SQL_PROVIDER_TYPE:
      {
        SqlProviderType sqlProviderType = (SqlProviderType)theEObject;
        T result = caseSqlProviderType(sqlProviderType);
        if (result == null) result = caseBusProvider(sqlProviderType);
        if (result == null) result = caseProvider(sqlProviderType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      default: return defaultCase(theEObject);
    }
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Abstract Scheduled Listener</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Abstract Scheduled Listener</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseAbstractScheduledListener(AbstractScheduledListener object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Actions Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Actions Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseActionsType(ActionsType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Action Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Action Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseActionType(ActionType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Activation Config Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Activation Config Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseActivationConfigType(ActivationConfigType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Bus</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Bus</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseBus(Bus object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Bus Provider</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Bus Provider</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseBusProvider(BusProvider object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Bus Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Bus Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseBusProviderType(BusProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Cron Schedule Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Cron Schedule Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseCronScheduleType(CronScheduleType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDocumentRoot(DocumentRoot object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Fs Bus Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Fs Bus Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFsBusType(FsBusType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Fs Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Fs Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFsListenerType(FsListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Fs Message Filter Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Fs Message Filter Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFsMessageFilterType(FsMessageFilterType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Fs Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Fs Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFsProviderType(FsProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Ftp Bus Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Ftp Bus Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFtpBusType(FtpBusType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Ftp Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Ftp Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFtpListenerType(FtpListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Ftp Message Filter Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Ftp Message Filter Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFtpMessageFilterType(FtpMessageFilterType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Ftp Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Ftp Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFtpProviderType(FtpProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Groovy Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Groovy Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseGroovyListenerType(GroovyListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Hibernate Bus Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Hibernate Bus Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseHibernateBusType(HibernateBusType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Hibernate Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Hibernate Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseHibernateListenerType(HibernateListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Hibernate Message Filter Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Hibernate Message Filter Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseHibernateMessageFilterType(HibernateMessageFilterType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Hibernate Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Hibernate Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseHibernateProviderType(HibernateProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jbossesb Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jbossesb Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJbossesbType(JbossesbType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jbr Bus Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jbr Bus Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJbrBusType(JbrBusType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jbr Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jbr Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJbrListenerType(JbrListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jbr Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jbr Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJbrProviderType(JbrProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jca Gateway Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jca Gateway Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJcaGatewayType(JcaGatewayType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jms Bus Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jms Bus Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJmsBusType(JmsBusType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jms Jca Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jms Jca Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJmsJcaProviderType(JmsJcaProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jms Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jms Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJmsListenerType(JmsListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jms Message Filter Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jms Message Filter Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJmsMessageFilterType(JmsMessageFilterType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Jms Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Jms Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseJmsProviderType(JmsProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Listener</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Listener</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseListener(Listener object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Listeners Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Listeners Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseListenersType(ListenersType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Property Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Property Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T casePropertyType(PropertyType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Provider</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Provider</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseProvider(Provider object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Providers Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Providers Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseProvidersType(ProvidersType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Schedule</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Schedule</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSchedule(Schedule object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Scheduled Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Scheduled Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseScheduledListenerType(ScheduledListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Schedule Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Schedule Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseScheduleProviderType(ScheduleProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Services Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Services Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServicesType(ServicesType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Service Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Service Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServiceType(ServiceType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Simple Schedule Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Simple Schedule Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSimpleScheduleType(SimpleScheduleType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Sql Bus Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Sql Bus Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSqlBusType(SqlBusType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Sql Listener Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Sql Listener Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSqlListenerType(SqlListenerType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Sql Message Filter Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Sql Message Filter Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSqlMessageFilterType(SqlMessageFilterType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Sql Provider Type</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Sql Provider Type</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSqlProviderType(SqlProviderType object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch, but this is the last case anyway.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
   * @generated
   */
  public T defaultCase(EObject object)
  {
    return null;
  }

} //XmlSwitch
